﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/ViewMasterPage.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Epam.PhotoGallery.Interfaces.DataTransferObjects.Category>>" %>

<asp:Content ID="TitleContent" ContentPlaceHolderID="htmlHeader" runat="server">
<%Html.Styles().Add("Content/css/community.css"); %>
</asp:Content>

<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Community main page</h2>

    <%foreach (var category in Model)
      { %>

      
      <% Html.RenderPartial("CategoryControl", category); %>

    <%} %>

    <%Html.RenderPartial("CategoryCreationControl"); %>


    
</asp:Content>


